package dame1;

public class Dog extends Animal {

    public Dog(String name, int age) {

        super(name, age);
        System.out.println("小狗再叫");
    }
    public void bark(){
        System.out.println(this.name+"在汪汪叫");
    }
}
